package com.flame.workflow.ru.mapper;

import java.util.List;

import com.flame.workflow.ru.entity.InstanceFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * flame_workflow_ru_instance_file 流程实例文件表
 *
 * @author 吴欣童
 * @since 2023-11-07 11:10:41
 */
@Mapper
public interface InstanceFileMapper {

    void insert(InstanceFile instanceFile);

    void updateById(InstanceFile instanceFile);

    void deleteById(@Param("fileId") String fileId);

    InstanceFile findById(@Param("fileId") String fileId);

    List<InstanceFile> listByInstanceId(@Param("instanceId") Long instanceId);
}